@extends('layouts.admin')
@section('title','三创网后台——发起孵化需求')
@section('content')
<script type="text/javascript" src="{{asset('resources/org/edit/script/jquery-1.6.4.js')}}"></script>
    <!--面包屑导航 开始-->
    <div class="crumb_warp">
        <!--<i class="fa fa-bell"></i> 欢迎使用登陆网站后台，建站的首选工具。-->
        <i class="fa fa-home"></i> <a href="{{url('admin/info')}}">首页</a> &raquo; 发起孵化需求
    </div>
    <!--面包屑导航 结束-->

	<!--结果集标题与导航组件 开始-->
	<div class="result_wrap">
        <div class="result_title">
            <h3>快捷操作</h3>
            @if(count($errors)>0)
                <div class="mark">
                    @if(is_object($errors))
                        @foreach($errors->all() as $error)
                            <p>{{$error}}</p>
                        @endforeach
                    @else
                        <p>{{$errors}}</p>
                    @endif
                </div>
            @endif
        </div>
        <div class="result_content">
            <div class="short_wrap">
                <a href="{{url('admin/hatch/create')}}"><i class="fa fa-plus"></i>发起孵化需求</a>
                <a href="{{url('admin/hatch')}}"><i class="fa fa-fw fa-list-ul"></i>孵化需求列表</a>
            </div>
        </div>
    </div>
    <!--结果集标题与导航组件 结束-->
    
    <div class="result_wrap">
        <form action="{{url('admin/hatch')}}" method="post">
            {{csrf_field()}}
            <table class="add_tab">
                <tbody>
                    <tr>
                        <th><i class="require">*</i>项目名称：</th>
                        <td>
                            <input type="text" class="lg" name="hat_name">
                        </td>
                    </tr>
                    <tr>
                        <th width="120"><i class="require">*</i>所属领域：</th>
                        <td>
                            <select name="hat_domain">
                                <option value="信息技术">信息技术</option>
                                <option value="新材料">新材料</option>
                                <option value="资源环境">资源环境</option>
                                <option value="纺织服装">纺织服装</option>
                                <option value="食品营养">食品营养</option>
                                <option value="装备制造">装备制造</option>
                                <option value="交通运输">交通运输</option>
                                <option value="生物医药">生物医药</option>
                                <option value="现代农业">现代农业</option>
                                <option value="节能建筑">节能建筑</option>
                                <option value="新能源">新能源</option>
                                <option value="科技服务">科技服务</option>
                                <option value="IT互联网">IT互联网</option>
                                <option value="其他">其他</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>专利号：</th>
                        <td>
                            <input type="radio" class="radio" name="hat_num" value="无" checked="checked">无
                            <span style="display:inline-block;margin:0 10px;"></span>
                            <input type="radio" class="radio" name="hat_num">有
                            <input type="text" class="lg radioVal" name="hat_num" style="width:200px;margin-left:20px;display:none;" value="无">
                            <script type="text/javascript">
                                $(function(){
                                   $('.radio').change(function(){
                                        if($(this).val()!='无'){
                                            $('.radioVal').show();
                                        }else{
                                            $('.radioVal').hide();
                                        }                                        
                                   })
                                });
                            </script>
                        </td>
                    </tr>
                    <tr>
                        <th><i class="require">*</i>评估状态：</th>
                        <td>
                            <input type="radio" name="hat_ass" value="待评估" checked="checked">待评估
                            <span style="display:inline-block;margin:0 10px;"></span>
                            <input type="radio" name="hat_ass" value="已评估">已评估
                        </td>
                    </tr>
                    <tr>
                        <th width="120">应用产品与服务：</th>
                        <td>
                            <input type="text" class="lg" name="hat_ser" style="width:300px;">
                            <span><i class="fa fa-exclamation-circle yellow"></i>不同行业用'，'隔开</span>
                        </td>
                    </tr>               
                    <tr>
                        <th>项目需求：</th>
                        <td>
                            <sapn style="display:inline-block;margin-right:15px;">技术支持</sapn>
                            <input type="radio" class="radio1" name="hat_tec" value="无" checked="checked">无
                            <span style="display:inline-block;margin:0 10px;"></span>
                            <input type="radio" class="radio1" name="hat_tec">有
                            <input type="text" class="lg radioVal1" name="hat_tec" style="width:400px;margin-left:20px;display:none;" value="无"><br>
                            <script type="text/javascript">
                                $(function(){
                                   $('.radio1').change(function(){
                                        if($(this).val()!='无'){
                                            $('.radioVal1').show();
                                        }else{
                                            $('.radioVal1').hide();
                                        }                                        
                                   })
                                });
                            </script>
                            <sapn style="display:inline-block;margin-right:15px;">人才支持</sapn>
                            <input type="radio" class="radio2" name="hat_per" value="无" checked="checked">无
                            <span style="display:inline-block;margin:0 10px;"></span>
                            <input type="radio" class="radio2" name="hat_per">有
                            <input type="text" class="lg radioVal2" name="hat_per" style="width:400px;margin-left:20px;display:none;" value="无"><br>
                            <script type="text/javascript">
                                $(function(){
                                   $('.radio2').change(function(){
                                        if($(this).val()!='无'){
                                            $('.radioVal2').show();
                                        }else{
                                            $('.radioVal2').hide();
                                        }                                        
                                   })
                                });
                            </script>
                            <sapn style="display:inline-block;margin-right:15px;">场地支持</sapn>
                            <input type="radio" class="radio3" name="hat_fie" value="无" checked="checked">无
                            <span style="display:inline-block;margin:0 10px;"></span>
                            <input type="radio" class="radio3" name="hat_fie">有
                            <input type="text" class="lg radioVal3" name="hat_fie" style="width:400px;margin-left:20px;display:none;" value="无"><br>
                            <script type="text/javascript">
                                $(function(){
                                   $('.radio3').change(function(){
                                        if($(this).val()!='无'){
                                            $('.radioVal3').show();
                                        }else{
                                            $('.radioVal3').hide();
                                        }                                        
                                   })
                                });
                            </script>
                            <sapn style="display:inline-block;margin-right:15px;">资金支持</sapn>
                            <input type="radio" class="radio4" name="hat_cap" value="无" checked="checked">无
                            <span style="display:inline-block;margin:0 10px;"></span>
                            <input type="radio" class="radio4" name="hat_cap">有
                            <input type="text" class="lg radioVal4" name="hat_cap" style="width:400px;margin-left:20px;display:none;" value="无"><br>
                            <script type="text/javascript">
                                $(function(){
                                   $('.radio4').change(function(){
                                        if($(this).val()!='无'){
                                            $('.radioVal4').show();
                                        }else{
                                            $('.radioVal4').hide();
                                        }                                        
                                   })
                                });
                            </script>
                            <sapn style="display:inline-block;margin-right:15px;">市场支持</sapn>
                            <input type="radio" class="radio5" name="hat_mar" value="无" checked="checked">无
                            <span style="display:inline-block;margin:0 10px;"></span>
                            <input type="radio" class="radio5" name="hat_mar">有
                            <input type="text" class="lg radioVal5" name="hat_mar" style="width:400px;margin-left:20px;display:none;" value="无"><br>
                            <script type="text/javascript">
                                $(function(){
                                   $('.radio5').change(function(){
                                        if($(this).val()!='无'){
                                            $('.radioVal5').show();
                                        }else{
                                            $('.radioVal5').hide();
                                        }                                        
                                   })
                                });
                            </script>
                            <sapn style="display:inline-block;margin-right:15px;">其他支持</sapn>
                            <input type="radio" class="radio6" name="hat_oth" value="无" checked="checked">无
                            <span style="display:inline-block;margin:0 10px;"></span>
                            <input type="radio" class="radio6" name="hat_oth">有
                            <input type="text" class="lg radioVal6" name="hat_oth" style="width:400px;margin-left:20px;display:none;" value="无"><br>
                            <script type="text/javascript">
                                $(function(){
                                   $('.radio6').change(function(){
                                        if($(this).val()!='无'){
                                            $('.radioVal6').show();
                                        }else{
                                            $('.radioVal6').hide();
                                        }                                        
                                   })
                                });
                            </script>
                        </td>
                    </tr>
                    <tr>
                        <th><i class="require">*</i>项目描述：</th>
                        <td>
                            <textarea name="hat_content" style="resize:none;"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <th></th>
                        <td>
                            <input type="submit" value="提交">
                            <input type="button" class="back" onclick="history.go(-1)" value="返回">
                        </td>
                    </tr>
                </tbody>
            </table>
        </form>
    </div>

@endsection